package com.xyht.sca_s.student_manage_system.modules.newTips.myEnum;


import java.util.stream.Stream;

public enum AppTypeEnum {

    APP_TYPE_ENUM_DYNAMIC_APP("dynamicApp","动态应用"),
    APP_TYPE_ENUM_ASSET("assetManagement","资产管理"),
    APP_TYPE_ENUM_ASSET_CHANGE("assetManagementChange","资产变动"),
    APP_TYPE_ENUM_ASSET_DEAL("assetManagementDeal","资产处置"),
//    APP_TYPE_ENUM_ASSET_IDLE("assetManagementIdle","资产闲置"),
    APP_TYPE_ENUM_NOTICE("notice","通知管理"),
    APP_TYPE_ENUM_STAMP_REGISTRATION("stampRegistration","印章登记审批表"),
    APP_TYPE_ENUM_ASSET_FIXED_CHECK("check","资产自查"),
    APP_TYPE_ENUM_ASSET_FIXED_INVENTORY("inventory","资产盘点"),
    APP_TYPE_ENUM_ASSET_CONSUMABLE_ACCEPTANCE("acceptance","易耗品领用"),
    APP_TYPE_ENUM_ASSET_CONSUMABLE_RETURN("return","易耗品归还"),

    APP_TYPE_ENUM_ASSET_ASSET_CHANGE("assetChange","资产变动"),
    APP_TYPE_ENUM_ASSET_IDLE("idle","资产闲置"),
    APP_TYPE_ENUM_ASSET_MANAGEMENT("assetManagement","资产处置"),
    APP_TYPE_ENUM_ASSET_OUTBOUND("assetOutbound","资产出库"),
    APP_TYPE_ENUM_ASSET_RETURN("assetReturn","资产归还"),
    APP_TYPE_ENUM_ASSET_WAREHOUSING("assetWarehousing","资产入库"),
    APP_TYPE_ENUM_ASSET_BORROWING_RETURN("borrowingReturn","资产借用"),
    APP_TYPE_ENUM_ASSET_CONSUMABLE_OUTBOUND("consumablesOutbound","易耗品出库"),
    APP_TYPE_ENUM_ASSET_CONSUMABLE_STORAGE("consumablesStorage","易耗品入库"),
    APP_TYPE_ENUM_ASSET_MATERIAL_PROCUREMENT("materialProcurement","物资采购"),
    APP_TYPE_ENUM_ASSET_REPAIR_RECORD("repairRecord","资产维修"),

    ;

     AppTypeEnum(String value, String name){
        this.value = value;
        this.name = name;
    }

    private String name;
    private String value;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public static Stream<AppTypeEnum> stream() {
        return Stream.of(AppTypeEnum.values());
    }

}
